package org.voovan.test.db;

import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.pool.DruidDataSourceFactory;
import com.github.kevinsawicki.http.HttpRequest;
import com.onemore.task.model.ModelB2CErpWms;
import com.onemore.task.model.ModelB2CWMS;

import org.voovan.db.CallType;
import org.voovan.db.JdbcOperate;
import org.voovan.tools.TFile;
import org.voovan.tools.TProperties;
import org.voovan.tools.log.Logger;

import java.io.File;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;

public class JdbcB2cWms2Erp {
    public static void main(String[] args) throws Exception {
        Logger.simple("手动导入B2C数据，从WMS数据库导到ERP数据库");
        Thread.currentThread().sleep(1000);
        Logger.simple("开始导入ONE_B2C_WMS数据库,请耐心等待...");
		ModelB2CWMS.importWmsTable();
        Logger.simple("开始导入ONE_B2C_ERPWMS数据库...");
    	ModelB2CErpWms.importTable();
        Logger.simple("导入完成");
    }
}
